Set Roi Command
MAVLink command which allows to set a Region Of Interest.
Parameters
Region of interest mode.
Waypoint index/ target ID (depends on mode).
Region of interest index. (allows a vehicle to manage multiple ROI's)
when mode is Mode.WAYPOINT_NEXT functions as the pitch offset from next waypoint, when Mode.LOCATION functions as latitude.
when mode is Mode.WAYPOINT_NEXT it is ignored, when Mode.LOCATION functions as longitude. Roll is ignored by Anafi 2.
when mode is Mode.WAYPOINT_NEXT functions as the yaw offset from next waypoint, when Mode.LOCATION functions as altitude.
the reference frame of the coordinates.
Constructors
Types
Properties
The coordinate frame; set to global coordinate frame or relative altitude over ground.
ROI mode
the raw parameters of the command
When mode is Mode.WAYPOINT_NEXT then it is the pitch offset from next waypoint, when Mode.LOCATION then it is the latitude.
When mode is Mode.WAYPOINT_NEXT it is ignored, when Mode.LOCATION then it is the longitude.
Waypoint index/ target ID
When mode is Mode.WAYPOINT_NEXT then it is the yaw offset from next waypoint, when Mode.LOCATION then it is the altitude.